<%@page import="com.qdu.dao.Recommend"%>
<%@page import="java.text.NumberFormat"%>
<%@page import="java.util.List"%>
<%@page import="java.*"%>

<%@page contentType="text/html" pageEncoding="UTF-8"%>

<!DOCTYPE HTML>
<HTML>
    <HEaD>
        <TITLE>网上书店</TITLE>

        <STYLE>
            #div0{
                width:100%;
                height:50px;
                background-color:#FFCCCC;
                position:fixed;
                z-index:10;
                margin:-10px -10px 0px -10px;
            }
            #top-page{
                float:right;
                height:10px;
                white-space:nowrap;
                margin:25px 0px 0px 0px;

            }	
            #logo{
                height:50px;
                width:50px;
                float:left;
            }

        </style>
    <BODY leftMargin=0 topMargin=0 style="background-color:#F0FFFF">


        <div id="div0">
            <div id="logo">
                <img src="img/logo.jpg" style="width:100%;height:100%; margin-left:15%">
            </div>
            <div id="top-page" align="right" style="margin-right:5%">
                <div align=center>
                    <a href="/J02_T13_P04/index.jsp"><FONT color=#ffffff>首页</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="/J02_T13_P04/newbook.jsp"><FONT color=#ffffff>最新图书</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="/J02_T13_P04/fenlei.jsp"><FONT color=#ffffff>图书分类</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="/J02_T13_P04/allbooklist.jsp"><FONT color=#ffffff>全部图书</FONT></a><FONT color=#ffffff> │ </FONT>
                    <a href="/J02_T13_P04/admin/login.jsp" target=_blank><FONT color=#ffffff>管理入口</FONT></a>
                </div>
            </div>
        </div>
        <div align="center">
            <img src="img/top.jpg"  style="margin-top:50px;" width="779" >
        </div>
        <div style="width: 779px;margin:0 auto;" align="center">
            <%
                List list = new Recommend().getBookType();
                for (int i = 0; i < list.size(); i++) {
            %>

            <a href="typebooklist.jsp?type=<%=list.get(i).toString()%>"><font color=#009999><%=list.get(i).toString()%></font></a>
            &nbsp;&nbsp;&nbsp;&nbsp;

            <%
                }
            %>
        </div>
        <br><br><br>
        <br><br><br>
        <div style="background:#CCFFFF;color:white;height:13;"align=center >2020-2030 网上书店  版权所有</div>
        <div style="background:#FFCCCC;color:white;height:13;"align=center >2020-2030 网上书店  版权所有</div>
        <div style="background:#CCFFFF;color:white;height:13;"align=center >2020-2030 网上书店  版权所有</div>
    </BODY></HTML>
